package com.xyz.springcloud.dao;

import com.xyz.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 肖咉卓
 */
@Mapper
public interface PaymentDao {
    /**
     * 添加数据
     * @param payment
     * @return
     */
    public int addPayment(Payment payment);

    /**
     * 查询数据
     * @param id
     * @return
     */
    public Payment findPaymentId(@Param("id")Long id);
}
